package com.kedacom.ctsp.authz.security.event;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;

/**
 * 登录成功事件
 *
 * @author xuwei
 * @create 2018-04-25 10:05
 **/
@Data
@Slf4j
public class AuthzLoginEvent extends ApplicationEvent {

    private String username;
    private String accessToken;
    private String token;

    public AuthzLoginEvent(String username, String accessToken, String token) {
        super(username);
        this.username = username;
        this.accessToken = accessToken;
        this.token = token;
    }
}
